package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.UserStatistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: 陈明明
 * @Description: TODO
 * @DateTime: 2024/8/16 14:20
 **/
@Mapper
public interface UserMapper {

    @Select("SELECT date, COUNT(*) as count FROM user GROUP BY date")
    List<UserStatistics> selectUserStatistics();
}

